package com.whnk.model.service;

import com.whnk.model.vo.DatIndexInfoStatus;
import java.util.List;

/**
 * @author Tong
 * @create 2021-9-7 14:32
 */
public interface IDatIndexInfoService {

    /**
     * 按照时间统计交易笔数   最近10天的
     * @return
     * */
   public List<DatIndexInfoStatus> accountsOpenedCount();

    /**
     * 按机构和时间(昨天)统计交易金额
     * @return
     * */
    public List<DatIndexInfoStatus> transactionAmountCount();

    /**
     * 按机构和时间(昨天)统计贷款余额
     * @return
     * */
    public List<DatIndexInfoStatus> loanBalanceCount();

    /**
     * 统计当月开户数，交易金额，贷款余额
     * @return
     * */
    public List<DatIndexInfoStatus> sameMonthCount();

    /**
     * 当月交易金额按机构排行top10
     * @return
     * */
    public List<DatIndexInfoStatus> amountMonthCount();

    /**
     * 按指标统计
     * @return
     * */
    public List<DatIndexInfoStatus> selectIndexCodes(String[] indexCode);
}
